package com.chenl.consumer.feign;

import com.chenl.consumer.DEMOS.幂等注解.UserInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "provider",url = "localhost:8082")
public interface ProFeign {


    @PostMapping(value = "/test/testt" )
     String test(@RequestBody UserInfo userInfo);
}
